#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a = 0, i = 0;
	scanf("%d",&a);
	while (a)
	{
		a = a / 10;
		i++;
	}
	printf("%d",i);
	return 0;
}